import request from '@/utils/request'

// 查询文件集合
export function listImages(query) {
    return request({
        url: '/coal/aiShow/list',
        method: 'get',
        params: query
    })
}

// 查询文件
export function getImage(index) {
    return request({
        url: '/coal/aiShow/getImage/' + index,
        method: 'get'
    })
}


// 获取图片识别结果
export function recognitionResult(index) {
    return request({
        url: '/coal/aiShow/aiRecognition/' + index,
        method: 'get'
    })
}
